<table width="100%" height="100%" cellpadding="0" cellspacing="0" border="0">
  <tr>
    <td bgcolor="#cccccc" width="200" valign="top"><!-- variable RHS Menu -->
         	<?php 
	if($_SESSION['user_groups_id']=="4")
	{
		require('templates/menu4.php');
	}
	elseif($_SESSION['user_groups_id']=="6")
	{
		require('templates/menu6.php');
	}	
	else
	{
		require('templates/menu7.php');
	}
	
?>
            
</td>
    <td valign="top" style="padding:30px 30px 30px 30px;"><table border="0">
        <tr>
          <td><b>
            <div id="resultshere1" class="errorText">
              <?php
	 if($_REQUEST['v']=='success')
	{
	echo 'Your Request has been submitted';
	}
	 ?>
              <?php
	 if($_REQUEST['v']=='err')
	{
	echo 'Please Select the record';
	}
	 ?>
            </div>
            </b> </td>
        </tr>
        <tr>
          <td colspan="3" align="left"><img src="heading/Return-Laptop_03.jpg"></td>
        </tr>
        <tr>
          <td><form name="frmsearchEmpno" id="frmsearchEmpno" action="search_return_laptop.php" method="post">
              <table border="0" style="font-family:Verdana, Arial, Helvetica, sans-serif; font-size:11px" align="left">
                <tr>
                  <td>Emp No</td>
                  <td><input type="text" name="emp_no"></td>
                  <td><input type="submit"  name="go" value="Go"></td>
                </tr>
              </table>
            </form></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <form name="frmReturn" id="frmReturn" action="return_laptop_process.php" method="post">
          <tr>
            <td>&nbsp;</td>
          </tr>
		  <tr>
		  	<td><b>Laptop</b></td>
		  </tr>
          <tr>
            <td><?php echo GetLaptopReturnGrid($_REQUEST['emp_id']);?></td>
          </tr>
          <tr>
		  	<td><b>Laptop Accessories</b></td>
		  </tr>
		  <tr>
            <td><?php echo GetLaptopAccReturnGrid($_REQUEST['emp_id']);?></td>
          </tr>
		  <tr>
		  	<td><b>Accessories</b></td>
		  </tr>
		  <tr>
            <td><?php echo GetAccesoriesReturnGrid($_REQUEST['emp_id']);?></td>
          </tr>
		  <tr>
		    <td><b>Substitute Laptop</b></td>
		  </tr>
		  <tr>
		     <td><?php echo GetSubstituteLaptop($_REQUEST['emp_id']);?></td>
		  </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td align="center"><input type="submit"  id="save" name="save" value="Save"></td>
          </tr>
        </form>
      </table></td>
  </tr>
</table>
